package com.ttmall.service;

import com.ttmall.common.pojo.KindeditorPicUploadResult;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * Created by GalaIO on 2018/1/14.
 */
public interface PictureService {
    KindeditorPicUploadResult uploadItemPic(MultipartFile picFile);

    ResponseEntity<byte[]> fetchFile(String url) throws IOException;

}
